<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/1/27
  Time: 16:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>通知查看</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../layui/css/layui.css"  media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <style>
        .layui-row{
            margin: 10px 0;
        }
    </style>
</head>
<script src="../../layui/layui.js" charset="utf-8"></script>
<script src="/js/jquery-3.4.1.js" charset="utf-8"></script>
<body style="padding: 10px;background-color: rgb(236,240,245);">
    <h1 style="margin-bottom: 20px;">通知查看</h1>
    <!-- 表单区+返回按钮 -->
    <div style="background-color: white;">
        <div class="layui-row">
            <!-- 返回按钮 -->
            <div class="layui-col-xs1" style="padding-left: 10px;padding-top: 10px;">
                <button type="button" class="layui-btn layui-btn-sm layui-btn-primary" onclick="history.go(-1)">
                    <i class="layui-icon layui-icon-left">返回</i>
                </button>
            </div>
        </div>
        <!-- 分割线 -->
        <hr class="layui-bg-gray">
        <form class="layui-form layui-form-pane" action="" style="padding-left: 110px;">
            <!-- 第一排 -->
            <div class="layui-row">
                <h1 class="layui-col-xs1">标题：</h1>
                <h1 class="layui-col-xs9" style="text-align: center">${param.notify_title}</h1>
            </div>
            <!-- 第二排 -->
            <div class="layui-row">
                <label class="layui-col-xs1">发布人：</label>
                <span class="layui-col-xs11">${param.real_name}</span>
            </div>
            <!-- 第三排 -->
            <div class="layui-row">
                <label class="layui-col-xs1">发布时间：</label>
                <span class="layui-col-xs11">${param.release_time}</span>

            </div>
            <!-- 第四排 -->
            <div class="layui-row">
                <label class="layui-col-xs1">链接：</label>
                <a class="layui-col-xs1" href="" onclick="window.open('http://${param.link}')" style="color: #01AAED;text-decoration: underline">
                    ${param.link}
                </a>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">内容</label>
                <textarea name="desc" readonly class="layui-textarea" style="height: 200px;width: 92%">${param.notify_desc}</textarea>
            </div>
            <div class="layui-form-item" style="padding: 15px 0;"></div>
        </form>
    </div>
</body>
<script>
    //form模块
    layui.use('form');
</script>
</html>
